<?php foreach($lastregisteredusers as $user) { ?>
	<div class="lastregisteredphoto">
		<?php if(!$user['image']):?>
			<?php echo link_to(image_tag('noimage.png'),'myaccount/index?account='.$user['id']);?>
		<?php else:?>
			<?php echo link_to("<img title='".$user['firstname'].' '.$user['lastname']."' src='/uploads/avatars/thumbnail_100_100_n/".$user['image']."'/>",'myaccount/index?account='.$user['id']);?>
		<?php endif;?>
	</div>
<?php } ?>

<div class='allarticles' style='clear:both; text-align:right'><?php if( $sf_user->isAuthenticated() ) echo link_to('Все участники', 'myaccount/showmeallusers'); ?></div>

<?php //array('title'=>$user['firstname'].' '.$user['lastname']) ?>